<form method="post" enctype="multipart/form-data">
    <input name="file" type="file"/>
    <button>Submit</button>
</form>